package com.pdg.islandinterloper.clientstatehandlers;

import android.view.MenuItem;
import android.view.View;

import com.pdg.islandinterloper.MainActivity;
import com.pdg.islandinterloper.R;
import com.pdg.islandinterloper.baseclasses.ClientStateHandlerBase;
import com.pdg.islandinterloper.enums.ClientState;

public class InstructionsClientStateHandler extends ClientStateHandlerBase<MainActivity> {

	public InstructionsClientStateHandler(MainActivity theActivity) {
		super(theActivity);
	}

	@Override
	public void handleShow() {
	}

	@Override
	public void handleButtonClick(View theView) {
		switch(theView.getId()){
		case R.id.button_back:
			getActivity().setState(ClientState.MAIN);
			break;
		}
	}

	@Override
	public boolean handleMenu(MenuItem theItem) {
		return false;
	}

	@Override
	public void handleHide() {
	}

}
